home *** CD-ROM | disk | FTP | other *** search
- %BEGIN Miscellaneous
-
- % Copyright (C) 1993 David John Burrowes
- % Distributed under terms of GNU General Public License.
- % See COPYING.text in Convert PICT's CommentedPSCode for a copy
-
- %%%%%%%%%%%%%
- % Note:
- % penWidth and penHeight 'defined' in Common code.
- %%%%%%%%%%%%%
-
- %%%%%%%%%%%%%
- % Name: pnSize [0007]
- % Syntax: x y pnSize -
- % About: Set the width and height of the pen, given parameters
- %%%%%%%%%%%%%
- /pnSize
- {
- /penHeight exch def
- /penWidth exch def
- }
- def
-
- %%%%%%%%%%%%%
- % Name: pnMode [0008]
- % Syntax: mode-name pnMode -
- % About: Given the name of a drawing mode, store it in a 'global', (it
- % should be a pat* or notpat* mode). We don't check it, though.
- %%%%%%%%%%%%%
- /pnMode
- { /patternMode exch def }
- def
-
- %%%%%%%%%%%%%
- % Name: origin [000C]
- % Syntax: num num origin -
- % About: Shift the origin of the coordinate system, given an x & y delta
- %%%%%%%%%%%%%
- /origin
- { translate }
- def
-
- %%%%%%%%%%%%%
- % Name: pnLocHFrac [0015]
- % Syntax: num pnLocHFrac -
- % About: This corresponds to the 0015 opcode that allows finer placement
- % of the pen on the mac. I couldn't determine what it did
- % precisely. So, I ignore it.
- %%%%%%%%%%%%%
- /pnLocHFrac
- {pop}
- def
-
- %%%%%%%%%%%%%
- % Name: hiliteMode [001C]
- % Syntax: - hiliteMode -
- % About: 'this opcode is sent before a drawing operation that uses the hilite mode.'
- % (according to Inside Mac V p. 103). I just ignore it.
- %%%%%%%%%%%%%
- /hiliteMode
- {}
- def
-
- %END Miscellaneous
-